package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Date;

@Table(name = "spinning_quality_report")
public class SpinningQualityReport {
    @Id
    private Long id;
    @Column
    private String batch_no;
    @Column
    private String name;
    @Column
    private String client;
    @Column
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    @Column
    private String color;
    @Column
    private String standard_count;
    @Column
    private String actual_count;
    @Column
    private Long standard_twists;
    @Column
    private Long actual_twists;
    @Column
    private Float single_yarn_force;
    @Column
    private Long extensibility;
    @Column
    private Float single_yarn_evenness;
    @Column
    private Long neps_200;
    @Column
    private Long rough_knot_50;
    @Column
    private Long detail_50;
    @Column
    private Float hairiness_h_value;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getStandard_count() {
        return standard_count;
    }

    public void setStandard_count(String standard_count) {
        this.standard_count = standard_count;
    }

    public String getActual_count() {
        return actual_count;
    }

    public void setActual_count(String actual_count) {
        this.actual_count = actual_count;
    }

    public Long getStandard_twists() {
        return standard_twists;
    }

    public void setStandard_twists(Long standard_twists) {
        this.standard_twists = standard_twists;
    }

    public Long getActual_twists() {
        return actual_twists;
    }

    public void setActual_twists(Long actual_twists) {
        this.actual_twists = actual_twists;
    }

    public Float getSingle_yarn_force() {
        return single_yarn_force;
    }

    public void setSingle_yarn_force(Float single_yarn_force) {
        this.single_yarn_force = single_yarn_force;
    }

    public Long getExtensibility() {
        return extensibility;
    }

    public void setExtensibility(Long extensibility) {
        this.extensibility = extensibility;
    }

    public Float getSingle_yarn_evenness() {
        return single_yarn_evenness;
    }

    public void setSingle_yarn_evenness(Float single_yarn_evenness) {
        this.single_yarn_evenness = single_yarn_evenness;
    }

    public Long getNeps_200() {
        return neps_200;
    }

    public void setNeps_200(Long neps_200) {
        this.neps_200 = neps_200;
    }

    public Long getRough_knot_50() {
        return rough_knot_50;
    }

    public void setRough_knot_50(Long rough_knot_50) {
        this.rough_knot_50 = rough_knot_50;
    }

    public Long getDetail_50() {
        return detail_50;
    }

    public void setDetail_50(Long detail_50) {
        this.detail_50 = detail_50;
    }

    public Float getHairiness_h_value() {
        return hairiness_h_value;
    }

    public void setHairiness_h_value(Float hairiness_h_value) {
        this.hairiness_h_value = hairiness_h_value;
    }
}
